﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace A57泛型集合练习
{
    class Student
    {
        public string name;
        public int age;
        public int id;

        public Student(string name, int age, int id)
        {
            this.name = name;
            this.age = age;
            this.id = id;
        }

        public override string ToString()
        {
            return string.Format("姓名: {0}\t年龄:{1}\t学号:{2}",name,age,id);
        }
    }
}
